<% content_for :content do %>



<h3>Zmiana czasu zakończenia ankiety</h3>

<% form_for(@survey, :url => { :action => "update_end_time" }) do |survey_form| %>
  <%= survey_form.error_messages %>

			<%= hidden_field_tag :surveyID,  @survey.id %>

			<p>
			<label for="survey_end_date">Data zakończenia:</label>	
			<%=
				survey_form.datetime_select(:end_date)
			%>
			</p>
				
			<p>
			<%= survey_form.submit 'Zapisz zmiany', :class => "submit"%>
			</p>
			

  


<% end %>
<p>
<%= link_to 'Powrót',:back %>
</p>
<% end %>